import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter)
export default new VueRouter({
    routes:[
        {
            path:'/',
            meta : {
                isHiddenHeader:true,
            }
        },
        {
            path:'/login',
            name:'Login',
            component:()=>import('@/pages/login/Login.vue'),
            meta :{isHiddenHeader:false}
        },
        {
            path:'/register',
            name:'Register',
            component:()=>import('@/pages/register/Register.vue'),
            meta: {isHiddenHeader:false}
        }
    ]
})